package reptile;

public class AddressLibrary {
    private String id;
    private String pid;
    private String name;
    private String shortName;
    private Integer addLevel;
    private Integer viewSort;
    private Integer delFlag;
    private String url;
    private boolean read;

    public String getId() {
        return id;
    }

    public AddressLibrary setId(String id) {
        this.id = id;
        return this;
    }

    public String getPid() {
        return pid;
    }

    public AddressLibrary setPid(String pid) {
        this.pid = pid;
        return this;
    }

    public String getName() {
        return name;
    }

    public AddressLibrary setName(String name) {
        this.name = name;
        return this;
    }

    public String getShortName() {
        return shortName;
    }

    public AddressLibrary setShortName(String shortName) {
        this.shortName = shortName;
        return this;
    }

    public Integer getAddLevel() {
        return addLevel;
    }

    public AddressLibrary setAddLevel(Integer addLevel) {
        this.addLevel = addLevel;
        return this;
    }

    public Integer getViewSort() {
        return viewSort;
    }

    public AddressLibrary setViewSort(Integer viewSort) {
        this.viewSort = viewSort;
        return this;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public AddressLibrary setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public AddressLibrary setUrl(String url) {
        this.url = url;
        return this;
    }

    public boolean isRead() {
        return read;
    }

    public AddressLibrary setRead(boolean read) {
        this.read = read;
        return this;
    }

    @Override
    public String toString() {
        return "AddressLibrary{" +
                "id='" + id + '\'' +
                ", pid='" + pid + '\'' +
                ", name='" + name + '\'' +
                ", shortName='" + shortName + '\'' +
                ", addLevel=" + addLevel +
                ", viewSort=" + viewSort +
                ", delFlag=" + delFlag +
                ", url='" + url + '\'' +
                ", read=" + read +
                '}';
    }
}
